package cn.wsn2018.tools.model.Log;

import org.springframework.data.annotation.Id;

/**
 * @program: tools  告警日志和错误日志基类
 * @description
 * @author: songDaisong
 * @create: 2019-12-07 15:04
 **/

abstract public class LogInfo {

    @Id
    protected String id;
    protected Integer type;
    protected String createTime;
    protected String ipAddress;
    protected String username;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
